<script setup lang="ts">
import { ref, onMounted } from 'vue'
import init from './hello'
const hello = ref<HTMLElement | null>(null)

onMounted(() => {
  if (hello.value) {
    init(hello.value)
  }
})
</script>

<template>
  <div id="hello" class="hello" ref="hello"></div>
</template>

<style scoped>
.hello {
  width: 100%;
  height: 100%;
}
</style>
